/* NavigationView 组件样式 */
.navigation-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

/* 第0页样式 */
.page-0 {
  transform: translateY(0);
  opacity: 1;
}

.page-1 {
  transform: translateY(100vh);
  opacity: 0;
}

.page-2 {
  transform: translateY(100vh);
  opacity: 0;
}

.page-hidden {
  pointer-events: none;
}

/* 第0页隐藏时的动画 */
.page-0.page-hidden {
  transform: translateY(100vh);
  opacity: 0;
}

/* 第1页隐藏时的动画 */
.page-1.page-hidden {
  transform: translateY(100vh);
  opacity: 0;
}

/* 第2页隐藏时的动画 */
.page-2.page-hidden {
  transform: translateY(100vh);
  opacity: 0;
}

/* 第1页显示时的动画 */
.page-1:not(.page-hidden) {
  transform: translateY(0);
  opacity: 1;
}

/* 第2页显示时的动画 */
.page-2:not(.page-hidden) {
  transform: translateY(0);
  opacity: 1;
}

/* 第0页占位符样式 */
.page-0-placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

.page-0-placeholder h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.page-0-placeholder p {
  font-size: 1.2rem;
  opacity: 0.7;
}

.footer {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  z-index: 90;
  pointer-events: none;
}
.main-content {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  height: 80%;
  opacity: 0;
  animation: show 1.5s ease-in-out forwards;
}
        @keyframes show {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }

.card {
  flex: 1 0 30vw;
  margin: auto 10vw;
  min-width: 30vw;
  max-width: 60vw;
  height: 100%;
}

.slogan {
  flex: 1 1 100%;
  margin-bottom: 5vh;
  min-width: 300px;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(45deg) translate(0, 0);
  }
  40% {
    transform: rotate(45deg) translate(-10px, -10px);
  }
  60% {
    transform: rotate(45deg) translate(-5px, -5px);
  }
}

.nav-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8vw;
  perspective: 1000px;
}

.nav-card {
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 40vw;
  height: 40vh;
  margin: 0 -50px;
  transform-style: preserve-3d;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 5px solid #fff;
  border-radius: 8px;
}

/* 左侧直角梯形 */
.nav-card:first-child {
  transform: perspective(1000px) rotateY(-15deg) skewX(-5deg);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  margin-right: 20px;
  z-index: 2;
}
.nav-card:first-child > span{
  background: linear-gradient(transparent, rgba(100, 247, 255, 0.348));
}
/* 右侧直角梯形 */
.nav-card:last-child {
  transform: perspective(1000px) rotateY(15deg) skewX(5deg);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.nav-card:last-child > span{
  background: linear-gradient(transparent, rgba(197, 244, 114, 0.8));
}
.nav-card:hover {
  transform: perspective(1000px) rotateY(0deg) skewX(0deg) scale(1.1);
  z-index: 3;
  margin: 0 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.nav-card>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nav-card:hover>img {
  transform: scale(1.1);
}

.nav-card>span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  font: 200 32px '优设标题黑';
  padding: 2rem 1.5rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.nav-card:hover>span {
  transform: translateY(0);
}

.page-indicator {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.indicator-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}



/* 响应式设计 */
@media (max-width: 1081px) {
  .main-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .card {
    flex: 0 1 auto;
    width: 100%;
    max-width: 650px;
    height: 40vh;
    min-height: 400px;
  }
  
  .slogan {
    flex: 0 1 auto;
    width: 100%;
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 2rem;
  }
  
  .nav-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .page-indicator {
    right: 1rem;
  }
  
  .indicator-dot {
    width: 10px;
    height: 10px;
  }
  
  .main-content {
    padding: 0.5rem;
    gap: 1rem;
  }
  
  .card {
    max-width: 350px;
    min-height: 350px;
  }
  
  .slogan {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .card {
    max-width: 300px;
    min-height: 300px;
  }
  
  .main-content {
    gap: 0.5rem;
  }
}